package com.ron.ronmall.member.feign;

import com.ron.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用优惠券服务接口
 *
 * @author Ron
 * @date 2021/3/3 21:17
 **/
@FeignClient("ronmall-coupon")
public interface FeignCouponService {

    @RequestMapping("/coupon/coupon/info/{id}")
    R info(@PathVariable("id")Long id);
}
